<!DOCTYPE html>
<html>

<head lang="en">
	<meta charset="UTF-8">
	<title>登录</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<meta name="format-detection" content="telephone=no">
	<meta name="renderer" content="webkit">
	<meta http-equiv="Cache-Control" content="no-siteapp" />

	<link rel="stylesheet" href="./AmazeUI-2.4.2/assets/css/amazeui.css" />
	<link href="./css/dlstyle.css" rel="stylesheet" type="text/css">

	<!-- 引入Vue - 做数据绑定 -->
	<script src="js/plugins/vue.js"></script>
	<!-- 引入axios - 发送异步请求 -->
	<script src="js/plugins/axios.js"></script>
	<!-- axios全局配置 + 基础路径 -->
	<script src="js/plugins/common.js"></script>
</head>

<body>

<div id="myApp">
	<span style="font-size: 30px">{{shop.name}}</span>
</div>

<script type="text/javascript">
	new Vue({
		el: "#myApp",
		data: {
			shop:{}
		},
		mounted(){
			let id = parseUrlParams2Obj(location.href).id;
			this.$http.get("/shop/"+id).then(res => {
				this.shop = res.data;
			}).catch(res => {
				alert("系统错误");
			})

		}
	});
</script>
</body>

</html>